package com.dcy.znoa.service.sys;

import com.dcy.znoa.common.util.pojo.JsonCommon;
import com.dcy.znoa.common.util.pojo.JsonForList;
import com.dcy.znoa.controller.sys.model.operRole.SelectOperRoleModel;
import com.dcy.znoa.domain.sys.OperRole;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

public interface OperRoleService {
    JsonForList selectList(SelectOperRoleModel selectOperRoleModel) throws InvocationTargetException, IllegalAccessException;

    JsonCommon insert(OperRole operRole);

    JsonCommon updateById(OperRole operRole);

	JsonCommon delete(Long operId, List<Long> roleIdsList);

	JsonCommon deleteByRoleId(Long roleId, List<Long> idsList);

}
